import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import './assets/grobal.css'
import 'font-awesome/css/font-awesome.css'
import time from './components/time.vue'
import { store } from './store/store.js'  //引入自定义的vuex store仓库

import VueSocketio from 'vue-socket.io'
// const Base64 = require('js-base64').Base64

Vue.use(new VueSocketio({

  debug: true,

  connection: 'http://localhost:666'
}))

Vue.prototype.$http = axios
Vue.component('timers', time)

Vue.config.productionTip = false

new Vue({
  router,
  store,  //在Vue实例中挂载
  render: h => h(App)
}).$mount('#app')
